import actions from './actions'
import mutations from './mutations'

const state = {
  user: '',
  admin: ''
}

// 计算属性
const getters = {
  user: state => state.user,
  admin: state => state.admin
}

export default {
  namespaced: true,
  state,
  getters,
  actions,
  mutations
}
